export function getLoginDirs(): string[] {
  const loginArr = import.meta.glob('../login/**');
  const keys = Object.keys(loginArr);
  const loginFile: string[] = [];

  keys.forEach((key) => {
    const k = key.replace('../login/', '');
    const lastIndex = k.lastIndexOf('/');
    const ret = k.substring(0, lastIndex).replace('./', '');

    loginFile.push(ret);
  });

  return Array.from(new Set(loginFile));
}
